Skip to content

Add WordPress Plugin links to navigation and landing page#1022

Closed
Copilot wants to merge 8 commits intomasterfrom
copilot/fix-963
Closed

Add WordPress Plugin links to navigation and landing page#1022
Copilot wants to merge 8 commits intomasterfrom
copilot/fix-963

Conversation

Copy link
Copy Markdown

Copilot AI commented Jul 13, 2025

This PR adds links to the PayButton WordPress Plugin in the navigation areas as requested in the issue. The WordPress Plugin link has been added to three strategic locations:

Changes Made

1. Landing Page Footer (components/LandingPage/Footer.tsx)

  • Added WordPress Plugin link alongside existing GitHub, Telegram, and Docs links
  • Visible to all users (both logged in and logged out)
  • Uses Next.js <Link> component with proper security attributes

2. Landing Page Navbar (components/LandingPage/Navbar.tsx)

  • Added WordPress Plugin link in the navigation menu for consistency
  • Visible to all users with responsive mobile menu support
  • Uses Next.js <Link> component with proper security attributes

3. Sidebar (components/Sidebar/index.tsx)

  • Added WordPress Plugin link in the social links section (misc links at bottom of nav when logged in)
  • Uses blocks icon to represent WordPress
  • Uses regular <a> tag consistent with existing social links pattern
  • Includes tooltip showing "WordPress Plugin"

Technical Details

  • Link URL: https://github.com/PayButton/wordpress-plugin
  • Link Text: "WordPress Plugin"
  • Security: All links include target="_blank" and rel="noopener noreferrer"
  • Responsive: Works on both desktop and mobile layouts
  • Accessibility: Proper alt text and semantic HTML
  • Code Style: Passes ESLint with no violations
  • Consistency: Follows existing code patterns in each component

Testing

  • ✅ All links point to correct WordPress plugin repository
  • ✅ All links have proper security attributes
  • ✅ All links follow existing component patterns
  • ✅ No ESLint violations
  • ✅ No breaking changes to existing functionality

The WordPress plugin link is now available in the misc links at the bottom of the nav when logged in (sidebar) as well as on the landing page as requested.

![WordPress Plugin Links Added](https://github.com/user-attachments/assets/f789cf61-992f-4277-b167-378ebb8a988b)

Fixes #963.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • binaries.prisma.sh
    • Triggering command: node scripts/postinstall.js (dns block)
    • Triggering command: node /home/REDACTED/work/paybutton-server/paybutton-server/node_modules/prisma/build/index.js generate --postinstall &#34;UNABLE_TO_FIND_POSTINSTALL_TRIGGER__ENVAR_MISSING&#34; (dns block)
  • registry.supertokens.io
  • wordpress.org
    • Triggering command: curl -s REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add link to WordPress Plugin

3 participants